﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for order_product
/// </summary>
public class order_product
{
    private int order_product_id;

    public int Order_product_id
    {
        get { return order_product_id; }
        set { order_product_id = value; }
    }
    private int order_id;

    public int Order_id
    {
        get { return order_id; }
        set { order_id = value; }
    }
    private int product_id;

    public int Product_id
    {
        get { return product_id; }
        set { product_id = value; }
    }
    private string name;

    public string Name
    {
        get { return name; }
        set { name = value; }
    }
    private int price;

    public int Price
    {
        get { return price; }
        set { price = value; }
    }
    private int quantity;

    public int Quantity
    {
        get { return quantity; }
        set { quantity = value; }
    }
	public order_product()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public order_product(int order_product_id,int order_id,int product_id,string name,int price,int quantity)
    {
        this.order_product_id = order_product_id;
        this.order_id = order_id;
        this.product_id = product_id;
        this.name = name;
        this.price = price;
        this.quantity = quantity;
    }
    public order_product(int order_id, int product_id, string name, int price, int quantity)
    {
        
        this.order_id = order_id;
        this.product_id = product_id;
        this.name = name;
        this.price = price;
        this.quantity = quantity;
    }
}